package org.hry.netty.delimiter;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;

/**
 * @Desc
 * @Author houry
 * @Date 2021/3/26 21:30
 **/
public class DelimiterHandler extends SimpleChannelInboundHandler<String> {

    @Override
    protected void channelRead0(ChannelHandlerContext ctx, String msg) throws Exception {
        System.out.println("recv: channel=" + ctx.channel().toString() + " " + msg);
    }
}
